import { request } from '@ruifox-cms/utils'

export function getFooterMessageList(params) {
    return request({
        url: '/material/getFooterMessage/list',
        method: 'get',
        params
    })
}
export function editFooterMessageEnable(data) {
    return request({
        url: '/material/editFooterMessageEnable',
        method: 'post',
        data
    })
}
export function sortFooterMessage(data) {
    return request({
        url: '/material/sortFooterMessage',
        method: 'post',
        data
    })
}
export function addFooterMessage(data) {
    return request({
        url: '/material/addFooterMessage',
        method: 'post',
        data
    })
}
export function editFooterMessage(data) {
    return request({
        url: '/material/editFooterMessage',
        method: 'post',
        data
    })
}
export function deleteFooterMessage(data) {
    return request({
        url: '/material/deleteFooterMessage',
        method: 'delete',
        data
    })
}
export function getQuickClass() {
    return request({
        url: '/material/getQuickClass',
        method: 'get'
    })
}
export function getQuickEntranceList(params) {
    return request({
        url: '/material/getQuickEntranceList',
        method: 'get',
        params
    })
}
export function sortQuickEntrance(data) {
    return request({
        url: '/material/sortQuickEntrance',
        method: 'post',
        data
    })
}
export function editQuickEntranceEnable(data) {
    return request({
        url: '/material/editQuickEntranceEnable',
        method: 'post',
        data
    })
}
export function editQuickClass(data) {
    return request({
        url: '/material/editQuickClass',
        method: 'post',
        data
    })
}
export function addQuickEntrance(data) {
    return request({
        url: '/material/addQuickEntrance',
        method: 'post',
        data
    })
}
export function editQuickEntrance(data) {
    return request({
        url: '/material/editQuickEntrance',
        method: 'post',
        data
    })
}
export function deleteQuickEntrance(data) {
    return request({
        url: '/material/deleteQuickEntrance',
        method: 'delete',
        data
    })
}
export function getSlidesCategory() {
    return request({
        url: '/material/slidesCategory',
        method: 'get'
    })
}
export function getSlidesList(params) {
    return request({
        url: '/material/getSlidesList',
        method: 'get',
        params
    })
}
export function editSlidesEnable(data) {
    return request({
        url: '/material/editSlidesEnable',
        method: 'post',
        data
    })
}
export function addSlides(data) {
    return request({
        url: '/material/addSlides',
        method: 'post',
        data
    })
}
export function editSlides(data) {
    return request({
        url: '/material/editSlides',
        method: 'post',
        data
    })
}
export function deleteSlides(data) {
    return request({
        url: '/material/deleteSlides',
        method: 'delete',
        data
    })
}
export function sortSlides(data) {
    return request({
        url: '/material/sortSlides',
        method: 'post',
        data
    })
}
